﻿using System;

namespace DIPPrinciple.NewDesign
{
    public class Light:ISwitchableDevice
    {
        public void TurnOn()
        {
            Console.WriteLine("turn on the light");
        }

        public void TurnOff()
        {
            Console.WriteLine("turn off the light");
        }
    }
}